Complexity of Concrete Type-Inference in the Presence of Exceptions
نویسندگان
چکیده
Concrete type-inference for statically typed object-oriented programming languages (e.g., Java, C ++) determines at each program point, those objects to which a reference may refer or a pointer may point during execution. A precise compile-time solution for this problem requires a ow-sensitive analysis. Our new complexity results for concrete type-inference distinguish the diiculty of the intraprocedural and interprocedural problem for languages with combinations of single-level types 3 , exceptions with or without subtyping, and dynamic dispatch. Our results include: { The rst polynomial-time algorithm for concrete type-inference in the presence of exceptions, which handles Java without threads, and C ++ ; { Proofs that the above algorithm is always safe and provably precise on programs with single-level types, exceptions without subtyping, and without dynamic dispatch; { Proof that interprocedural concrete type-inference problem with single-level types and exceptions with subtyping, and without dynamic dispatch is PSPACE-hard, while the intraprocedural problem is PSPACE-complete. Other complexity characterizations of concrete type-inference for programs without exceptions are also presented.
منابع مشابه
Modular Concrete Type-inference for Statically Typed Object-oriented Programming Languages ?
The problem of concrete type-inference for statically typed object-oriented programming languages (e.g., Java, C ++) determines at each program point, those objects to which a reference may refer or a pointer may point during execution. We present a new technique called analysis-using-abstract-values which performs modular and demand-driven concrete type-inference of a robust subset of Java wit...
متن کاملAdaptive Neural Fuzzy Inference System Models for Predicting the Shear Strength of Reinforced Concrete Deep Beams
A reinforced concrete member in which the total span or shear span is especially small in relation to its depth is called a deep beam. In this study, a new approach based on the Adaptive Neural Fuzzy Inference System (ANFIS) is used to predict the shear strength of reinforced concrete (RC) deep beams. A constitutive relationship was obtained correlating the ultimate load with seven mechanical a...
متن کاملADAPTIVE NEURO-FUZZY INFERENCE SYSTEM AND STEPWISE REGRESSION FOR COMPRESSIVE STRENGTH ASSESSMENT OF CONCRETE CONTAINING METAKAOLIN
In the current study two methods are evaluated for predicting the compressive strength of concrete containing metakaolin. Adaptive neuro-fuzzy inference system (ANFIS) model and stepwise regression (SR) model are developed as a reliable modeling method for simulating and predicting the compressive strength of concrete containing metakaolin at the different ages. The required data in training an...
متن کاملA COMPREHENSIVE STUDY ON THE CONCRETE COMPRESSIVE STRENGTH ESTIMATION USING ARTIFICIAL NEURAL NETWORK AND ADAPTIVE NEURO-FUZZY INFERENCE SYSTEM
This research deals with the development and comparison of two data-driven models, i.e., Artificial Neural Network (ANN) and Adaptive Neuro-based Fuzzy Inference System (ANFIS) models for estimation of 28-day compressive strength of concrete for 160 different mix designs. These various mix designs are constructed based on seven different parameters, i.e., 3/4 mm sand, 3/8 mm sand, cement conten...
متن کاملEstimation of Punching Shear Capacity of Concrete Slabs Using Data Mining Techniques
Punching shear capacity is a key factor for governing the collapsed form of slabs. This fragile failure that occurs at the slab-column connection is called punching shear failure and has been of concern for the engineers. The most common practice in evaluating the punching strength of the concrete slabs is to use the empirical expressions available in different building design codes. The estima...
متن کامل